﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CID.Domain.Exceptions
{
    [Serializable]
    class InvalidActionForDisabledObjectException : InvalidActionException
    {
        public InvalidActionForDisabledObjectException(string message, Type objectType) : base(String.Format("Unable to {0} as the {1} is not enabled", message, objectType.Name)) { }
    }
}
